﻿Imports DAO
Imports DTO
Public Class LoaiDocGiaBUS
    Public Function LayDanhSach() As List(Of LoaiDocGiaDTO)
        'Kiem tra business rule neu co
        Dim ldgdao As New LoaiDocGiaDAO()
        Return ldgdao.LayDanhSach()
    End Function

    Public Function TimKiem(ByVal maLoaiDocGia As Integer) As LoaiDocGiaDTO
        'kiem tra business rule neu co
        Dim ldgdao As New LoaiDocGiaDAO()
        Dim ldgdto As LoaiDocGiaDTO
        ldgdto = ldgdao.TimKiem(maLoaiDocGia)
        Return ldgdto
    End Function
End Class
